{extend name="main/index" /}
{block name="main"}
<div class="main-content">
    <div class="breadcrumbs" id="breadcrumbs">
        <script type="text/javascript">
            try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
        </script>

        <ul class="breadcrumb">
            <li>
                <i class="icon-home home-icon"></i>
                <a href="#">流程管理模块</a>
            </li>

            <li class="active">我的流程</li>
        </ul><!-- .breadcrumb -->

        <div class="nav-search" id="nav-search">
            <form class="form-search">
                <span class="input-icon">
                    <input type="text" placeholder="Search ..." class="nav-search-input" id="nav-search-input" autocomplete="off" />
                    <i class="icon-search nav-search-icon"></i>
                </span>
            </form>
        </div><!-- #nav-search -->
    </div>
    <div class="page-content">
        <h3 class="header smaller lighter blue">当前流程</h3>
        <div class="row">
            <div class="col-xs-12" style="margin-top: 20px" >
                 <div class="table-responsive">
                    <table id="sample-table-2" class="table table-striped table-bordered table-hover">
                        <thead>
                            <tr>
                                <th>流程名称</th>
                                <th class="hidd240">发起人</th>
                                <th class="hidden-240">发起时间</th>
                                <th class="hidden-240">流程状态</th>
                                <th class="hidden-240">操作</th>
                            </tr>
                            {volist name="data" id="v"}
                                    <tr>
                                        <td>{$v['flow_name']}</td>
                                        <td>{$v['initiator']}</td>
                                        <td>{$v['launch_time']}</td>
                                        <td>
                                            {switch name=$v['flow_status']}
                                                {case value="1" break="1"}未发起{/case}
                                                {case value="9" break="1"}已完结{/case}
                                                {default /}审核中
                                            {/switch}
                                        </td>
                                        <td>
                                            <a href="{:url($v['connect'],['id'=>$v['details_id']])}">查看详情</a> 
                                         </td>
                                    </tr>
                                {/volist}
                        </thead>
                        <tbody>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
</div>
<!-- <div class="main-content" >
    
    <div class="col-xs-6">
        
    </div>
</div> -->
{/block}